package com.have.blog.admin.annotion.operationLogger;

import com.have.blog.base.enums.PlatformEnum;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface OperationLogger {

    String value() default "";
    PlatformEnum platform() default PlatformEnum.ADMIN;
    boolean save() default true;
}
